projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff36c26
)
(Fclear_string): Put call to CHECK_STRING in correct place.
author
Luc Teirlinck
<teirllm@auburn.edu>
Tue, 6 Jul 2004 17:50:32 +0000
(17:50 +0000)
committer
Luc Teirlinck
<teirllm@auburn.edu>
Tue, 6 Jul 2004 17:50:32 +0000
(17:50 +0000)
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index cbd0dc91d2bf5f6f1ba5780757e1f9622dd5621e..4dd04bf0b503fa5e894a197b006893156c2c46e1 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-2370,8
+2370,8
@@
This makes STRING unibyte and may change its length. */)
(string)
Lisp_Object string;
{
- CHECK_STRING (string);
int len = SBYTES (string);
+ CHECK_STRING (string);
bzero (SDATA (string), len);
STRING_SET_CHARS (string, len);
STRING_SET_UNIBYTE (string);